package com.zhuzhe.blog.article.requestDto;

import com.zhuzhe.blog.article.entity.Article;
import com.zhuzhe.blog.base.BaseRequest;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * @description
 * @author: u53
 * @create: 2020-10-05 23:12
 **/
@ApiModel(value = "ArticleDto条件对象", description = "用文章公开不公开列表条件")
@Data
@Accessors(chain = true)
public class ArticleUserDto  extends BaseRequest<Article> {


    @ApiModelProperty(value = "用户Id")
    private String userId;

    @ApiModelProperty(value = "是否公开（0：不公开，1：公开）", required = true)
    private Integer isPublic;

}
